package com.component.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.component.domain.SysRoleEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/11 14:46
 * @since JDK 1.8
 */
public interface SysRoleService extends IService<SysRoleEntity> {

    SysRoleEntity getSysRoleEntityByUserName(String userName);


    IPage<SysRoleEntity> page(Integer pageNum,Integer pageSize,String roleNo,String roleName);
}
